#ifndef BLOCKMOVEABILITYVISITOR_H
#define BLOCKMOVEABILITYVISITOR_H

#include "GameAbilityVisitor.h"
#include "Direction.h"

class BlockMoveAbilityVisitor: public GameAbilityVisitor
{
public:
	BlockMoveAbilityVisitor();
	virtual ~BlockMoveAbilityVisitor();

	virtual void Visit(BlockMoveAbility& ability);

	bool FoundAbility() const;
	const Direction& BlockDirection() const;

protected:
private:
	bool found;
	Direction blockDirection;
};

#endif //BLOCKMOVEABILITYVISITOR_H
